package com.geek.base.file.bean;

import lombok.Data;

@Data
public class SftpBean {

	/** SFTP 服务器地址 */
	private String host;
	/** SFTP 服务器端口 */
	private int port;
	/** SFTP 登录用户名 */
	private String userName;
	/** SFTP 登录密码 */
	private String passWord;
	/** SFTP 访问私钥 */
	private String privateKey;

	public SftpBean() {
		super();
	}

	public SftpBean(String host, int port, String userName) {
		super();
		this.host = host;
		this.port = port;
		this.userName = userName;
	}

	public SftpBean(String host, int port, String userName, String passWord) {
		super();
		this.host = host;
		this.port = port;
		this.userName = userName;
		this.passWord = passWord;
	}

	public SftpBean(String host, int port, String userName, String passWord, String privateKey) {
		super();
		this.host = host;
		this.port = port;
		this.userName = userName;
		this.passWord = passWord;
		this.privateKey = privateKey;
	}

}
